package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.UserLog;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName: UserLogApi
 * @Author:王晨晗
 * @Description: 用户操作日志
 * @Date: 2022/01/13/9:12
 */
public interface UserLogApi {
    /**
     * @param userId
     * @return
     * @description 插入或修改用户的操作时间
     */
    void updateOrInsert(Long userId, Long time);

    List<UserLog> queryLogs(Integer page, Integer pagesize, Long uid, String sortProp, String sortOrder);
}
